package com.hrm.service;

import com.hrm.pojo.DTO.DocumentPageDTO;
import com.hrm.pojo.DTO.DocumentUpdateDTO;
import com.hrm.pojo.Document;
import com.hrm.utils.entity.PageResult;

public interface DocumentService {
    PageResult<Document> selectByTitle(DocumentPageDTO documentPageDTO)throws Exception;

    boolean deleteById(Integer id)throws Exception;

    boolean updateDoc(DocumentUpdateDTO documentUpdateDTO)throws Exception;

    boolean addDoc(Document document)throws Exception;
}
